/**
 * Copyright (c) 2018-2028, peter
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package pri.zxx.excelgenerate.dataentity.tabledata.growth;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import pri.zxx.excelgenerate.dataentity.entity.ExcelData;
import pri.zxx.excelgenerate.excelhanler.CellDesc;

import java.math.BigDecimal;
import java.util.Random;

/**
 *  生长育肥猪 总生长性能实体类
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class TotalGrowthGrowingFinishing extends ExcelData {

//    初始体重（kg）
//    出栏体重（kg）
//    饲养周期（天）
//    胴体背膘厚（mm）

    @CellDesc(titleName = "初始体重（kg）", order = 1)
    private BigDecimal predictedStartingBodyWeight = BigDecimal.valueOf(new Random().nextInt(10));
    /**
     * 观测初始体重
     */
    @CellDesc(titleName = "初始体重（kg）", order = 2)
    private BigDecimal observedStartingBodyWeight = BigDecimal.valueOf(new Random().nextInt(10));
    /**
     * 预估出栏体重
     */
    @CellDesc(titleName = "出栏体重（kg）", order = 1)
    private BigDecimal predictedSlaughterBodyWeight = BigDecimal.valueOf(new Random().nextInt(10));
    /**
     * 观测出栏体重
     */
    @CellDesc(titleName = "出栏体重（kg）", order = 2)
    private BigDecimal observedSlaughterBodyWeight = BigDecimal.valueOf(new Random().nextInt(10));
    /**
     * 预估胴体背膘厚
     */
    @CellDesc(titleName = "胴体背膘厚（mm）", order = 1)
    private BigDecimal predictedProbebackfatatSlaughterBodyWt = BigDecimal.valueOf(new Random().nextInt(10));
    /**
     * 观测胴体背膘厚
     */
    @CellDesc(titleName = "胴体背膘厚（mm）", order = 2)
    private BigDecimal observedProbebackfatatSlaughterBodyWt = BigDecimal.valueOf(new Random().nextInt(10));
    /**
     * 预估饲养周期
     */
    @CellDesc(titleName = "饲养周期（天）", order = 1)
    private BigDecimal predictedDaysFromStartingToSlaughterBodyWeight = BigDecimal.valueOf(new Random().nextInt(10));
    /**
     * 观测饲养周期
     */
    @CellDesc(titleName = "饲养周期（天）", order = 2)
    private BigDecimal observedDaysFromStartingToSlaughterBodyWeight = BigDecimal.valueOf(new Random().nextInt(10));


}
